body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: rgba(71, 88, 53, 0.551);
}

.back {
    background-color: aquamarine;
}

.all-in-body {
    display: flex;
    flex-direction: column;
}

.baner-tv {
    background-color: #000;
    font-size: 36px;
    color: brown;
    font-size: 36px;
    align-content: center;
}

.top-bar {
    display: flex;
    background-color: #000;
    align-items: center;
}

.back-logo {
    display: flex;
    flex-direction: row;
}

.logo {
    display: flex;
    flex-direction: row;
    width: 300px;
    background-color: #0055a4;
    color: #00ff00;
    font-size: 36px;
    font-weight: bold;
    line-height: 100px;
    text-transform: uppercase;
}

#tv-online {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

.channels-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: calc(100%/3 - 10px);
    gap: 5px;
    background-color: rgb(38, 82, 68);
    justify-content: space-between;
}

.a-logo {
    color: #00ff00;
    text-decoration: none;
}

.a-tv {
    color: #fe0303;
    text-decoration: none;
}

.channel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 80px;
    min-width: 80px;
    height: 80px;
    gap: 5px;
    border: 1px solid #161515;
    background-color: cadetblue;
    border-radius: 15px;
}

.channel:hover {
    background-color: #f5f5f5;
}

.channel img {
    max-width: 80px;
    height: auto;
}

.channel h3 {
    font-size: 16px;
    margin: 10px 0 5px;
}

.img-chanel {
    border-radius: 15px;
    width: 100%;
    height: 100%;
}

.channel p {
    font-size: 14px;
    color: #666;
}

.player-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 320px;
    max-width: 100%;
    text-align: center;
    background-color: blanchedalmond;
    flex-wrap: wrap;
}

#tv-player {
    width: 100%;
}

.epg-list {
    margin-top: 20px;
    text-align: left;
    background-color: aqua;
}

.epg-list h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.epg-list ul {
    list-style: none;
    padding: 0;
}

.epg-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.epg-list li .time {
    font-weight: bold;
    min-width: 60px;
}

.epg-list li .title {
    flex: 1;
}

@media (max-width: 600px) {
    .top-bar {
        flex-direction: column;
    }

    #tv-online {
        flex-direction: column;
    }

    .back-logo {
        flex-direction: row;
    }

    .baner-tv {
        font-size: 20px;
    }

    .channels-list {
        width: 100%;
    }

    .player-container {
        background-color: cadetblue;
    }
}